//
//  SampuxUnBindView.h
//  Sampux
//
//  Created by rzm on 16/8/5.
//  Copyright © 2016年 rzm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SampuxListModel.h"
#import "SPDeviceConfigModel.h"

typedef void (^cBlock) (void);
typedef void (^yBlock) (void);
typedef void (^dBlock) (void);

typedef enum : NSUInteger {
    SampuxDelete_Type_User,
    SampuxDelete_Type_UnbindDevice_isPosser,
    SampuxDelete_Type_UnbindDevice_isNotPosser,
}SampuxDelete_Type;

@interface SampuxUnBindView : UIView
@property (nonatomic, strong) SampuxListModel *model;
@property (nonatomic, strong) SPDeviceConfigModel *configmodel;


@property (nonatomic, copy) cBlock cancelBlock;
@property (nonatomic, copy) yBlock unBindBlock;
@property (nonatomic, copy) dBlock deleteBlock;

@property (nonatomic, strong) UILabel *warnLab;
@property (nonatomic, assign) BOOL isOwner;
@property (nonatomic, assign) SampuxDelete_Type unBindType;
@property (nonatomic, copy) NSString *userAccount;

@end
